/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.alipay.sofa.registry.client.model;

import com.alipay.sofa.registry.core.model.DataBox;

import java.io.Serializable;

/**
 * The type Configurator data.
 * @author zhuoyu.sjw
 * @version $Id : ConfiguratorData.java, v 0.1 2018-04-18 15:17 zhuoyu.sjw Exp $$
 */
public class ConfiguratorData implements Serializable {

    private static final long serialVersionUID = 3667107975967019132L;

    private DataBox           dataBox;

    private Long              version;

    /**
     * Getter method for property <tt>dataBox</tt>.
     *
     * @return property value of dataBox
     */
    public DataBox getDataBox() {
        return dataBox;
    }

    /**
     * Setter method for property <tt>dataBox</tt>.
     *
     * @param dataBox value to be assigned to property dataBox
     */
    public void setDataBox(DataBox dataBox) {
        this.dataBox = dataBox;
    }

    /**
     * Getter method for property <tt>version</tt>.
     *
     * @return property value of version
     */
    public Long getVersion() {
        return version;
    }

    /**
     * Setter method for property <tt>version</tt>.
     *
     * @param version value to be assigned to property version
     */
    public void setVersion(Long version) {
        this.version = version;
    }
}
